package com.ruoyi.coal.modules.coalpile.domain;;

//import com.alibaba.excel.annotation.Excel;
//import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

@TableName("cp_coal_pile_info")
public class CoalPileInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("煤堆id")
    @Excel(name = "煤堆id")
    private Integer id;

    @ApiModelProperty("历史数据表id")
    @Excel(name = "历史数据表id")
    private Integer historyId;

    @ApiModelProperty("分割名称")
    @Excel(name = "分割名称")
    private String name;

    @ApiModelProperty("长度")
    @Excel(name = "长度")
    private Double length;

    @ApiModelProperty("宽度")
    @Excel(name = "宽度")
    private Double width;

    @ApiModelProperty("髙度")
    @Excel(name = "高度")
    private Double height;

    @ApiModelProperty("体积")
    @Excel(name = "体积")
    private Double volume;

    @ApiModelProperty("面积")
    @Excel(name = "面积")
    private Double area;

    @ApiModelProperty("密度")
    @Excel(name = "密度")
    private Double density;

    @ApiModelProperty("重量")
    @Excel(name = "重量")
    private Double weight;

    @ApiModelProperty("obj文件地址")
    @Excel(name = "obj文件地址")
    private String urlObj;

    @ApiModelProperty("mtl文件地址")
    @Excel(name = "mtl文件地址")
    private String urlMtl;

    @ApiModelProperty("图片1地址")
    @Excel(name = "图片1地址")
    private String urlImage1;

    @ApiModelProperty("图片2地址")
    @Excel(name = "图片2地址")
    private String urlImage2;

    @ApiModelProperty("高位点id")
    @Excel(name = "高位点id")
    private Integer maxPoint;

    @ApiModelProperty("低位点id")
    @Excel(name = "低位点id")
    private Integer minPoint;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("煤堆创建时间")
    @Excel(name = "煤堆创建时间")
    private Date createTime;


    @TableLogic(value = "1", delval = "0")
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "逻辑删除(0:删除 1:保存)",hidden = true)
    @Excel(name = "逻辑删除(0:删除 1:保存)")
    private Integer del;

    @ApiModelProperty("分割id")
    @Excel(name = "低位点id")
    private Integer cutId;

    @ApiModelProperty("gltf文件地址")
    @Excel(name = "gltf文件地址")
    private String urlGltf;

    private String urlGltf2;

    private Integer measureType;

    @TableField(exist = false)
    private String coalPileVariety;

    public String toString() {
        return "CoalPileInfoEntity(id=" + getId() + ", historyId=" + getHistoryId() + ", name=" + getName() + ", length=" + getLength() + ", width=" + getWidth() + ", height=" + getHeight() + ", volume=" + getVolume() + ", area=" + getArea() + ", density=" + getDensity() + ", weight=" + getWeight() + ", urlObj=" + getUrlObj() + ", urlMtl=" + getUrlMtl() + ", urlImage1=" + getUrlImage1() + ", urlI mage2=" + getUrlImage2() + ", maxPoint=" + getMaxPoint() + ", minPoint=" + getMinPoint() + ", createTime=" + getCreateTime() + ", del=" + getDel() + ", cutId=" + getCutId() + ", urlGltf=" + getUrlGltf() + ", urlGltf2=" + getUrlGltf2() + ", measureType=" + getMeasureType() + ", coalPileVariety=" + getCoalPileVariety() + ")";
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.CoalPileInfoEntity))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.CoalPileInfoEntity other = (com.ruoyi.coal.modules.coalpile.domain.CoalPileInfoEntity)o;
        if (!other.canEqual(this))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$historyId = getHistoryId(), other$historyId = other.getHistoryId();
        if ((this$historyId == null) ? (other$historyId != null) : !this$historyId.equals(other$historyId))
            return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
            return false;
        Object this$length = getLength(), other$length = other.getLength();
        if ((this$length == null) ? (other$length != null) : !this$length.equals(other$length))
            return false;
        Object this$width = getWidth(), other$width = other.getWidth();
        if ((this$width == null) ? (other$width != null) : !this$width.equals(other$width))
            return false;
        Object this$height = getHeight(), other$height = other.getHeight();
        if ((this$height == null) ? (other$height != null) : !this$height.equals(other$height))
            return false;
        Object this$volume = getVolume(), other$volume = other.getVolume();
        if ((this$volume == null) ? (other$volume != null) : !this$volume.equals(other$volume))
            return false;
        Object this$area = getArea(), other$area = other.getArea();
        if ((this$area == null) ? (other$area != null) : !this$area.equals(other$area))
            return false;
        Object this$density = getDensity(), other$density = other.getDensity();
        if ((this$density == null) ? (other$density != null) : !this$density.equals(other$density))
            return false;
        Object this$weight = getWeight(), other$weight = other.getWeight();
        if ((this$weight == null) ? (other$weight != null) : !this$weight.equals(other$weight))
            return false;
        Object this$urlObj = getUrlObj(), other$urlObj = other.getUrlObj();
        if ((this$urlObj == null) ? (other$urlObj != null) : !this$urlObj.equals(other$urlObj))
            return false;
        Object this$urlMtl = getUrlMtl(), other$urlMtl = other.getUrlMtl();
        if ((this$urlMtl == null) ? (other$urlMtl != null) : !this$urlMtl.equals(other$urlMtl))
            return false;
        Object this$urlImage1 = getUrlImage1(), other$urlImage1 = other.getUrlImage1();
        if ((this$urlImage1 == null) ? (other$urlImage1 != null) : !this$urlImage1.equals(other$urlImage1))
            return false;
        Object this$urlImage2 = getUrlImage2(), other$urlImage2 = other.getUrlImage2();
        if ((this$urlImage2 == null) ? (other$urlImage2 != null) : !this$urlImage2.equals(other$urlImage2))
            return false;
        Object this$maxPoint = getMaxPoint(), other$maxPoint = other.getMaxPoint();
        if ((this$maxPoint == null) ? (other$maxPoint != null) : !this$maxPoint.equals(other$maxPoint))
            return false;
        Object this$minPoint = getMinPoint(), other$minPoint = other.getMinPoint();
        if ((this$minPoint == null) ? (other$minPoint != null) : !this$minPoint.equals(other$minPoint))
            return false;
        Object this$createTime = getCreateTime(), other$createTime = other.getCreateTime();
        if ((this$createTime == null) ? (other$createTime != null) : !this$createTime.equals(other$createTime))
            return false;
        Object this$del = getDel(), other$del = other.getDel();
        if ((this$del == null) ? (other$del != null) : !this$del.equals(other$del))
            return false;
        Object this$cutId = getCutId(), other$cutId = other.getCutId();
        if ((this$cutId == null) ? (other$cutId != null) : !this$cutId.equals(other$cutId))
            return false;
        Object this$urlGltf = getUrlGltf(), other$urlGltf = other.getUrlGltf();
        if ((this$urlGltf == null) ? (other$urlGltf != null) : !this$urlGltf.equals(other$urlGltf))
            return false;
        Object this$urlGltf2 = getUrlGltf2(), other$urlGltf2 = other.getUrlGltf2();
        if ((this$urlGltf2 == null) ? (other$urlGltf2 != null) : !this$urlGltf2.equals(other$urlGltf2))
            return false;
        Object this$measureType = getMeasureType(), other$measureType = other.getMeasureType();
        if ((this$measureType == null) ? (other$measureType != null) : !this$measureType.equals(other$measureType))
            return false;
        Object this$coalPileVariety = getCoalPileVariety(), other$coalPileVariety = other.getCoalPileVariety();
        return !((this$coalPileVariety == null) ? (other$coalPileVariety != null) : !this$coalPileVariety.equals(other$coalPileVariety));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.CoalPileInfoEntity;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $historyId = getHistoryId();
        result = result * 59 + (($historyId == null) ? 43 : $historyId.hashCode());
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $length = getLength();
        result = result * 59 + (($length == null) ? 43 : $length.hashCode());
        Object $width = getWidth();
        result = result * 59 + (($width == null) ? 43 : $width.hashCode());
        Object $height = getHeight();
        result = result * 59 + (($height == null) ? 43 : $height.hashCode());
        Object $volume = getVolume();
        result = result * 59 + (($volume == null) ? 43 : $volume.hashCode());
        Object $area = getArea();
        result = result * 59 + (($area == null) ? 43 : $area.hashCode());
        Object $density = getDensity();
        result = result * 59 + (($density == null) ? 43 : $density.hashCode());
        Object $weight = getWeight();
        result = result * 59 + (($weight == null) ? 43 : $weight.hashCode());
        Object $urlObj = getUrlObj();
        result = result * 59 + (($urlObj == null) ? 43 : $urlObj.hashCode());
        Object $urlMtl = getUrlMtl();
        result = result * 59 + (($urlMtl == null) ? 43 : $urlMtl.hashCode());
        Object $urlImage1 = getUrlImage1();
        result = result * 59 + (($urlImage1 == null) ? 43 : $urlImage1.hashCode());
        Object $urlImage2 = getUrlImage2();
        result = result * 59 + (($urlImage2 == null) ? 43 : $urlImage2.hashCode());
        Object $maxPoint = getMaxPoint();
        result = result * 59 + (($maxPoint == null) ? 43 : $maxPoint.hashCode());
        Object $minPoint = getMinPoint();
        result = result * 59 + (($minPoint == null) ? 43 : $minPoint.hashCode());
        Object $createTime = getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        Object $del = getDel();
        result = result * 59 + (($del == null) ? 43 : $del.hashCode());
        Object $cutId = getCutId();
        result = result * 59 + (($cutId == null) ? 43 : $cutId.hashCode());
        Object $urlGltf = getUrlGltf();
        result = result * 59 + (($urlGltf == null) ? 43 : $urlGltf.hashCode());
        Object $urlGltf2 = getUrlGltf2();
        result = result * 59 + (($urlGltf2 == null) ? 43 : $urlGltf2.hashCode());
        Object $measureType = getMeasureType();
        result = result * 59 + (($measureType == null) ? 43 : $measureType.hashCode());
        Object $coalPileVariety = getCoalPileVariety();
        return result * 59 + (($coalPileVariety == null) ? 43 : $coalPileVariety.hashCode());
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setHistoryId(Integer historyId) {
        this.historyId = historyId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public void setVolume(Double volume) {
        this.volume = volume;
    }

    public void setArea(Double area) {
        this.area = area;
    }

    public void setDensity(Double density) {
        this.density = density;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public void setUrlObj(String urlObj) {
        this.urlObj = urlObj;
    }

    public void setUrlMtl(String urlMtl) {
        this.urlMtl = urlMtl;
    }

    public void setUrlImage1(String urlImage1) {
        this.urlImage1 = urlImage1;
    }

    public void setUrlImage2(String urlImage2) {
        this.urlImage2 = urlImage2;
    }

    public void setMaxPoint(Integer maxPoint) {
        this.maxPoint = maxPoint;
    }

    public void setMinPoint(Integer minPoint) {
        this.minPoint = minPoint;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public void setCutId(Integer cutId) {
        this.cutId = cutId;
    }

    public void setUrlGltf(String urlGltf) {
        this.urlGltf = urlGltf;
    }

    public void setUrlGltf2(String urlGltf2) {
        this.urlGltf2 = urlGltf2;
    }

    public void setMeasureType(Integer measureType) {
        this.measureType = measureType;
    }

    public void setCoalPileVariety(String coalPileVariety) {
        this.coalPileVariety = coalPileVariety;
    }

    public Integer getId() {
        return this.id;
    }

    public Integer getHistoryId() {
        return this.historyId;
    }

    public String getName() {
        return this.name;
    }

    public Double getLength() {
        return this.length;
    }

    public Double getWidth() {
        return this.width;
    }

    public Double getHeight() {
        return this.height;
    }

    public Double getVolume() {
        return this.volume;
    }

    public Double getArea() {
        return this.area;
    }

    public Double getDensity() {
        return this.density;
    }

    public Double getWeight() {
        return this.weight;
    }

    public String getUrlObj() {
        return this.urlObj;
    }

    public String getUrlMtl() {
        return this.urlMtl;
    }

    public String getUrlImage1() {
        return this.urlImage1;
    }

    public String getUrlImage2() {
        return this.urlImage2;
    }

    public Integer getMaxPoint() {
        return this.maxPoint;
    }

    public Integer getMinPoint() {
        return this.minPoint;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public Integer getDel() {
        return this.del;
    }

    public Integer getCutId() {
        return this.cutId;
    }

    public String getUrlGltf() {
        return this.urlGltf;
    }

    public String getUrlGltf2() {
        return this.urlGltf2;
    }

    public Integer getMeasureType() {
        return this.measureType;
    }

    public String getCoalPileVariety() {
        return this.coalPileVariety;
    }
}